<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
 <div id="hd">
    <div class="clearfix pagetitle">
      <h1 class="sitename"><a href="/" title="传媒设计广告公司网站 个人博客"><img  class="ifixpng" src="http://demo.open.www313.com/documents/show/4807/logo.jpg"  alt="传媒设计广告公司网站 个人博客" /></a></h1>
    </div>
    <div class="clearfix sitenav">
      <div class="clearfix menu-main">
        <ul id="menuSitenav" class="clearfix">
          <li class="first-item"> <a href="<?php echo U('index/index');?>" class="home"><span>首页</span></a> </li>
          <?php
    $topCate=K('Category')->where('pid=0 AND is_show=1')->limit(1000)->order('csort ASC')->all();
    foreach ($topCate as $filed):
    $filed['url']=U('List/index',array('cid'=>$filed['cid']));
?>

          <li > <a href="<?php echo $filed['url'];?>" target="_self"><span><?php echo $filed['cname'];?></span></a> </li>
           
<?php
endforeach
?>
        </ul>
      </div>
    </div>
    <div id="sys-banner">
      <div id="banner-main" class="banner banner-main">
        <div class="banner-inner"><a href="/" target="_self"><img src="http://127.0.0.1/cms_edu/Template/heibai/img/4804.jpg" width="100%" alt="" /></a></div>
      </div>
    </div>
  </div>
